<p>
<b>
[ <a href="?view_mode=edit_classes"><#LANG_ADD_NEW_CLASS#></a> ]
</b>
</p>
<table width=100% border=0><tr>
<td valign=top>
<!-- results -->
[#if RESULT#]
<!-- search results (list) -->
<form action="?" method="post" name="frmList_classes" style="padding:0px">
<table border=0 cellpadding=5 cellspacing=1 bgcolor="#000000">
[#begin RESULT#]
<tr >
 <td
   bgcolor="#FFFFFF" valign="top">
  <b>
   [#TITLE#]
  </a></b>
 </td>
 <td bgcolor="#FFFFFF">
  <table border=0>
  [#if "<#ACTION#>"=="admin"#]
   <td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=edit_classes&id=[#ID#]"><#LANG_EDIT#></a></b>
   </td>
   <td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=edit_classes&id=[#ID#]&tab=properties"><#LANG_PROPERTIES#></a></b>
   </td>   
<td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=edit_classes&id=[#ID#]&tab=methods"><#LANG_METHODS#></a></b>
   </td>      
<td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=edit_classes&id=[#ID#]&tab=objects"><#LANG_OBJECTS#></a></b>
   </td>      
   
   <td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=edit_classes&parent_id=[#ID#]"><#LANG_EXPAND#></a>
   </td>
   <td bgcolor="#FFFFFF" align=center>
    <b><a href="?view_mode=export_classes&id=[#ID#]"><#LANG_EXPORT#></a>
   </td>   
  [#if !OBJECTS#]
   <td bgcolor="#FFFFFF" align=center>
    <a href="?view_mode=delete_classes&id=[#ID#]" onClick="return confirm('<#LANG_ARE_YOU_SURE#>')">X</a>
   </td>
  [#endif OBJECTS#]
  [#endif ACTION#]
  </table>
  [#if OBJECTS#]
  <#LANG_OBJECTS#>:
   <table border=0>
         [#begin OBJECTS#]
         <tr>
                 <td><a href="?(panel:{action=classes}classes:{view_mode=edit_classes,instance=adm,tab=objects,id=<#RESULT.ID#>})&md=objects&view_mode=edit_objects&id=[#ID#]">[#TITLE#]</a>[#if DESCRIPTION!=""#] ([#DESCRIPTION#])[#endif#]</td>
                 <td>&nbsp;</td>
        </tr>
        [#if METHODS#]
         <tr>
                 <td>&nbsp;</td>
                 <td>
                        <small>
                        
                        [#begin METHODS#]
                         <li><a href="?(panel:{action=classes}classes:{view_mode=edit_classes,instance=adm,tab=objects,id=<#RESULT.ID#>})&md=objects&view_mode=edit_objects&id=<#OBJECTS.ID#>&tab=methods&overwrite=1&method_id=[#ID#]">[#TITLE#]</a></li>
                        [#end METHODS#]
                
                        </td>
        </tr>
        [#endif METHODS#]
         [#end OBJECTS#]
  </table>
  [#endif OBJECTS#]
 </td>
</tr>
[#if RESULT#]
 <tr>
 <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
 <td style="padding-left:20px" bgcolor="#FFFFFF">
  <table border=0 cellpadding=5 cellspacing=1 bgcolor="#000000" align=center>
   [#tree RESULT#]
  </table>
 </td></tr>
[#endif RESULT#]
[#end RESULT#]
</table>
<input type="hidden" name="data_source" value="<#DATA_SOURCE#>">
<input type="hidden" name="view_mode" value="multiple_classes">
</form>
<!-- / search results (list) -->
[#else RESULT#]
<p align=center>
<font color="red"><#LANG_NO_RECORDS_FOUND#></font>
</p>
[#endif RESULT#]
<!-- / results -->
</td></tr></table>

<hr size=1>
<form action="?" enctype="multipart/form-data" method="post">
<table border="0">
 <tr>
  <td valign="top"><#LANG_IMPORT_CLASS_FROM_FILE#>:</td>
  <td valign="top"><input type="file" name="file" enctype="multipart/form-data"></td>
  <td valign="top"><label><input type="checkbox" name="overwrite" value="1"> <#LANG_OVERWRITE#></label></td>
  <td valign="top"><input type="submit" name="submit" value="<#LANG_IMPORT#>"></td>
 </tr>
</table>
<input type="hidden" name="view_mode" value="import_classes">
</form>